package com.gk.study.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gk.study.entity.Order;

import java.util.List;

public interface OrderService extends IService<Order> {  // 继承 IService
    List<Order> getOrderList();
    void createOrder(Order order);
    void deleteOrder(String id);
    void updateOrder(Order order);
    List<Order> getUserOrderList(String userId, String status);
}